package com.aaa.entity.sds;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ViewTestResultSds {

    private Integer id;
    private String name;
    private String phone;
    //JsonFormat在json字符串中返回带日期格式的数据
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //从页面传值到controller的时候，自动解析字符串日期到date
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer testPlanId;
    private Integer zheng;
    private Integer fan;
    private Integer sum;
    private Integer studentType;
}
